/*
 * @Description: 
 * @Author: Zhang Zhangda
 * @Date: 2021-03-04 19:26:31
 * @LastEditTime: 2021-03-04 19:29:01
 * @LastEditors: Zhang Zhaoda
 */
import Cookie from "js-cookie";
//设置cookie

export const setCookie = (key:string,value:string) => {
  Cookie.set(key,value);
}

//获取cookie

export const getCookie = (key:string) => {
  return Cookie.get(key)
}

//删除cookie

export const removeCookie = (key:string) => {
  Cookie.remove(key)
}